<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>日期选择器</title>
    <link rel="stylesheet" href="../../../plugin/bootstrap/css/bootstrap.css">
    <link href="https://cdn.bootcdn.net/ajax/libs/bootstrap-datetimepicker/4.7.14/css/bootstrap-datetimepicker.css" rel="stylesheet">
</head>
<body>
<div class='input-group date' id='datetimepicker1'>
    <input type='text' class="form-control" />
    <span class="input-group-addon">
                    <span class="glyphicon glyphicon-calendar"></span>
                </span>
</div>

</body>
<script src="../../../plugin/jquery/jquery.js"></script>
<script src="../../../plugin/bootstrap/js/bootstrap.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/moment.js/2.29.1/moment.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/bootstrap-datetimepicker/4.7.14/js/bootstrap-datetimepicker.min.js"></script>
<script>

    $('#datetimepicker1').datetimepicker({
        format: 'YYYY-MM-DD',
        locale: moment.locale('zh-cn')
    });
</script>
</html>